print('%s is %s years old' % ('bob', 23))
print('%s is %d yesrs old' % ('bob', 24))
print('%s is %d years old' % ('bob', 23.6))
print('%s is %f years old' % ('bob', 23.7))
print('%s is %5.2f years old' % ('bob', 23.3))
print('%s is %5.2f years old' % ('bob', 24.32741234))
print('97 is %c' % 97)
print('11 is %#o' % 11)
print('%10s%5s' % ('name', 'age'))
print('%10s%5s' % ('bob', 26))
print('%10s%5s' % ('alice', 23))
print('%-10s%-5s' % ('name', 'age'))
print('%-10s%-5s' % ('bob', 25))
print('%10d' % 123)
print('%010d' % 123)
print('{} is {} years old'.format('bob', 25))
print('{1} is {0} years old'.format(25, 'bob'))
print('{:>10} {:<8}'.format('name', 'age'))